import service from "@/utils/request";

export const useQuery = (params:any) => service({url: 'department/query', method: 'get', params: params})
export const useModify = (params:any) => service({url: 'department/modify', method: 'post', params: params})
// export const register = (params:any) => service({url: 'use/register', method: 'post', params: params})